# frozen_string_literal: true

require 'colored2'

require 'i18n'
if I18n.respond_to?(:enforce_available_locales=)
  I18n.enforce_available_locales = false
end

module IosDev
  require_relative "ios_dev/version"
  require_relative "ios_dev/config"
  require_relative "ios_dev/command"
  require_relative "ios_dev/api"

  # usage:
  # raise Error.new("error message ……")
  class Error < StandardError
    def message
      "[!] #{super}"
    end
  end
end
